package com.zzyl.mapper;

import com.github.pagehelper.Page;
import com.zzyl.entity.NursingProject;
import com.zzyl.entity.ProjectPlans;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface NursingMapper {
    Page<NursingProject> list(String name, Integer status);

    void addProject(NursingProject nursingProject);

    NursingProject getById(Long id);

    void updateById(NursingProject nursingProject);

    void deleteById(Long id);

    void disableById(Long id, Integer status);

    List<NursingProject> listAll();

    Integer deleteBeforeSelect(Long id);
}
